-- Decompiled with the Synapse X Luau decompiler.

local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.GameObject());
function M.new(p1)
	assert(p1, "param player instance is nil");
	return M(p1);
end;
function M.ctor(self, sysPlayer)
	M.super.ctor(self, sysPlayer);
	self.user_id = sysPlayer.UserId;
end;
function M.dtor(self)
	M.super.dtor(self);
end;
function M.GetAccountAge(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.AccountAge;
end;
function M.SetAccountAge(self, p7)
	assert(p7, "param age is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst:SetAccountAge(p7);
end;
function M.GetAutoJumpEnabeld(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.AutoJumpEnabled;
end;
function M.SetAutoJumpEnabeld(self, p10)
	if p10 == nil then
		p10 = false;
	end;
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.AutoJumpEnabled = p10;
end;
function M.GetCameraMaxZoomDistance(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.CameraMaxZoomDistance;
end;
function M.SetCameraMaxZoomDistance(self, p13)
	assert(p13, "param distance is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.CameraMaxZoomDistance = p13;
end;
function M.GetCameraMinZoomDistance(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.CameraMinZoomDistance;
end;
function M.SetCameraMinZoomDistance(self, p16)
	assert(p16, "param distance is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.CameraMinZoomDistance = p16;
end;
local u3 = {
	Classic = 0, 
	LockFirstPerson = 1, 
	[0] = "Classic",
	"LockFirstPerson"
};
function M.GetCameraMode(self)
	return u3[self.main_inst.CameraMode];
end;
function M.SetCameraMode(self, p19)
	assert(p19, "param mode is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.CameraMode = u3[p19];
end;
function M.GetCanLoadCharacterAppearance(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.CanLoadCharacterAppearance;
end;
function M.SetCanLoadCharacterAppearance(self, p22)
	if p22 == nil then
		p22 = false;
	end;
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.CanLoadCharacterAppearance = p22;
end;
function M.GetCharacterAppearanceId(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.CharacterAppearanceId;
end;
function M.SetCharacterAppearanceId(self, p25)
	assert(p25, "param id is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.CharacterAppearanceId = p25;
end;
local u4 = {
	UserChoice = 0, 
	Classic = 1, 
	Follow = 2, 
	Orbital = 3, 
	CameraToggle = 4, 
	[0] = "UserChoice",
	"Classic", "Follow", "Orbital", "CameraToggle"
};
function M.GetDevComputerCameraMode(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return u4[self.main_inst.DevCameraOcclusionMode];
end;
function M.SetDevComputerCameraMode(self, p28)
	assert(p28, "param mode is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.DevCameraOcclusionMode = u4[p28];
end;
function M.GetDisplayName(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.DisplayName;
end;
function M.SetDisplayName(self, p31)
	assert(p31, "param name is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.DisplayName = p31;
end;
function M.GetFollowUserId(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.FollowUserId;
end;
function M.GetGameplayPaused(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.GameplayPaused;
end;
function M.SetGameplayPaused(self, p35)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.GameplayPaused = p35;
end;
local u5 = {
	UserChoice = 0, 
	Thumbstick = 1, 
	DPad = 2, 
	Thumbpad = 3, 
	ClickToMove = 4, 
	Scriptable = 5, 
	DynamicThumbstick = 6
};
function M.GetDevTouchMovementMode(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return u5[self.main_inst.DevTouchMovementMode];
end;
function M.SetDevTouchMovementMode(self, p38)
	assert(p38, "param mode is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.DevTouchMovementMode = u5[p38];
end;
local u6 = {
	UserChoice = 0, 
	KeyboardMouse = 1, 
	ClickToMove = 2, 
	Scriptable = 3, 
	[0] = "Scriptable"
};
function M.GetDevComputerMovementMode(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return u6[self.main_inst.DevComputerMovementMode];
end;
function M.SetDevComputerMovementMode(self, p41)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.DevComputerMovementMode = u6[p41];
end;
function M.GetHealthDisplayDistance(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.HealthDisplayDistance;
end;
function M.SetHealthDisplayDistance(self, p44)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.HealthDisplayDistance = p44;
end;
function M.GetLocaleId(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.LocaleId;
end;
function M.GetMaximumSimulationRadius(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.MaximumSimulationRadius;
end;
function M.SetMaximumSimulationRadius(self, p48)
	assert(p48, "param radius is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.MaximumSimulationRadius = p48;
end;
local u7 = {
	None = 0, 
	BuildersClub = 1, 
	TurboBuildersClub = 2, 
	OutrageousBuildersClub = 3, 
	Premium = 4
};
function M.GetMemershipType(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return u7[self.main_inst.MembershipType];
end;
function M.IsPremium(self)
	local v2 = self.main_inst and self.main_inst.MembershipType == Enum.MembershipType.Premium;
	return v2;
end;
function M.GetNameDisplayDistance(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.NameDisplayDistance;
end;
function M.SetNameDisplayDistance(self, p53)
	assert(p53, "param distance is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.NameDisplayDistance = p53;
end;
function M.GetNeutral(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.Neutral;
end;
function M.GetReplicationFocus(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.ReplicationFocus;
end;
function M.SetReplicationFocus(self, p57)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.ReplicationFocus = p57;
end;
function M.GetRespawnLocation(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.RespawnLocation;
end;
function M.SetRespawnLocation(self, p60)
	assert(p60, "param spaw location is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.RespawnLocation = p60;
end;
function M.GetSimulationRadius(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.SimulationRadius;
end;
function M.SetSimulationRadius(self, p63)
	assert(p63, "param radius is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.SimulationRadius = p63;
end;
function M.GetTeam(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.Team;
end;
function M.SetTeam(self, p66)
	assert(p66, "param team is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.Team = p66;
end;
function M.GetTeamColor(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	return self.main_inst.TeamColor;
end;
function M.SetTeamColor(self, p69)
	assert(p69, "param color is nil");
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst.TeamColor = p69;
end;
function M.GetUserId(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.user_id = self.user_id or self.main_inst.UserId;
	return self.user_id;
end;
function M.ClearCharacterAppearance(self)
	assert(self.main_inst, "object main inst is nil class name = " .. self.class);
	self.main_inst:ClearCharacterAppearance();
end;
local Players = game:GetService("Players");
function M.GetPlayerDescription(self, p73)
	local v3 = nil;
	p73 = p73 or self:GetUserId();
	local v4 = nil;
	v4, v3 = xpcall(function()
		return Players:GetHumanoidDescriptionFromUserId(p73);
	end, debug.traceback);
	if v4 then
		return v3;
	end;
	warn(v3);
	return Instance.new("HumanoidDescription");
end;
local u14 = {
	AvatarBust = Enum.ThumbnailType.AvatarBust, 
	AvatarThumbnail = Enum.ThumbnailType.AvatarThumbnail, 
	HeadShot = Enum.ThumbnailType.HeadShot
};

local u16 = {
	Size48x48 = Enum.ThumbnailSize.Size48x48, 
	Size180x180 = Enum.ThumbnailSize.Size180x180, 
	Size420x420 = Enum.ThumbnailSize.Size420x420, 
	Size60x60 = Enum.ThumbnailSize.Size60x60, 
	Size100x100 = Enum.ThumbnailSize.Size100x100, 
	Size150x150 = Enum.ThumbnailSize.Size150x150, 
	Size352x352 = Enum.ThumbnailSize.Size352x352
};
function M.GetTumbnail(self, p75, p76)
	assert(p75, "param thumbnail type is nil");
	assert(p76, "param thumbnail size is nil");
	local v5 = u14[p75];
	assert(v5, "not such type = " .. tostring(p75));
	local v6 = u16[p76];
	assert(v6, "not such size = " .. tostring(p76));
	return self:WaitForFunc(Players.GetUserThumbnailAsync, Players, self:GetUserId(), v5, v6);
end;
function M.Kick(self, p78)
	if self.main_inst then
		self.main_inst:Kick(p78);
	end;
end;
function M.GetHumanoidDescription(self)
	local v7 = nil;
	local v8 = nil;
	local v9 = nil;
	local v10 = nil;
	local v11 = nil;
	local v12 = nil;
	local v13 = self:GetUserId();
	if not self.__default_humanoid_description then
		local v14 = nil;
		v14, v7 = xpcall(Players.GetHumanoidDescriptionFromUserId, debug.traceback, Players, v13);
		if v14 then
			self.__default_humanoid_description = v7;
			v8 = "__default_humanoid_description";
			v9 = self;
			v10 = v8;
			v11 = v9[v10];
			v12 = v11;
			return v12;
		end;
	else
		v8 = "__default_humanoid_description";
		v9 = self;
		v10 = v8;
		v11 = v9[v10];
		v12 = v11;
		return v12;
	end;
	warn(v7);
	return Instance.new("HumanoidDescription");
end;
return M;
